//
//  FastFunction_allColor.m
//  New_Runway
//
//  Created by 邢毅 on 2018/4/13.
//  Copyright © 2018年 NelsonJ. All rights reserved.
//

#import "FastFunction_allColor.h"

UIColor *RGB(CGFloat r, CGFloat g, CGFloat b) {
    
    return [UIColor colorWithRed:r / 255.0 green:g / 255.0 blue:b / 255.0 alpha:1.0];
}

UIColor *UIColorRGB(CGFloat r, CGFloat g, CGFloat b) {
    
    return [UIColor colorWithRed:r / 255.0 green:g / 255.0 blue:b / 255.0 alpha:1.0];
}

UIColor *UIColorHex(int rgbValue) {
    
    return [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:1.0];
}

UIColor *UIColorHex_Alpha(int rgbValue, CGFloat al) {
    
    return [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16))/255.0 green:((float)((rgbValue & 0xFF00) >> 8))/255.0 blue:((float)(rgbValue & 0xFF))/255.0 alpha:al];
}
UIColor *MAIN_NAV_COLOR() { return UIColorHex(0xff6816); }
UIColor *MAIN_FONT_COLOR() { return UIColorHex(0x323232); }
UIColor *MAIN_TAB_NORMAL() { return UIColorHex(0x4c4c4c); }
UIColor *MAIN_HIGHTLIGHT_COLOR() { return UIColorHex(0xb03e00); }
UIColor *MIAN_NOCLICK_COLOR() { return UIColorHex(0xb4b4b4); }
UIColor *MAIN_LINE_COLOR() { return UIColorHex(0xe1e1e1); }

UIColor *MAIN_HIGHT_COLOR() { return UIColorHex(0xffad80); }
UIColor *MAIN_FONT_NORMAL_COLOR() { return UIColorHex(0x757575); }
UIColor *MAIN_COLOR() { return UIColorHex(0xFFFFFF); }
UIColor *MAIN_BACKGROUND_COLOR() { return UIColorHex(0xefefef); }
UIColor *MAIN_BAR_COLOR() { return UIColorHex(0xffffff); }
UIColor *MAIN_TAbLE_COLOR() { return UIColorHex(0xefefef); }

UIColor *Black16Color() { return UIColorHex(0x161616); }
UIColor *Black32Color() { return UIColorHex(0x323232); }
UIColor *Black43Color() { return UIColorHex(0x434343); }
UIColor *Black4bColor() { return UIColorHex(0x4b4b4b); }
UIColor *Black64Color() { return UIColorHex(0x646464); }
UIColor *Black5cColor() { return UIColorHex(0x5c5c5c); }

UIColor *Gray98Color() { return UIColorHex(0x989898); }
UIColor *Gray90Color() { return UIColorHex(0x909090); }
UIColor *Gray84Color() { return UIColorHex(0x848484); }
UIColor *Gray8bColor() { return UIColorHex(0x8b8b8b); }
UIColor *Gray6cColor() { return UIColorHex(0xcccccc); }
UIColor *Green39Color() { return UIColorHex(0x39bfb2); }
UIColor *Redf5Color() { return UIColorHex(0xf53500); }

UIColor *SeparateLineColor() { return UIColorHex(0xcccccc); }
UIColor *ContentBackgroundColor() { return UIColorHex(0xf0f1f5); }
UIColor *kSeperateLineBgColorEfefef() { return UIColorHex(0xefefef); }

// cell的titleLabel颜色
UIColor * kColorCellTextLeft() { return UIColorHex(0x646464); }

// cell的右侧文字颜色
UIColor * kColorCellTextRight() { return UIColorHex(0x909090); }

// cell高亮颜色
UIColor * kCellHightedColor() { return UIColorHex(0xe6e6e9); }
/// 通用的红色文字颜色
UIColor * kColorFontRed() { return UIColorHex(0xe12228); }

/// 透明色
UIColor * kColorClear() { return [UIColor clearColor]; }

/// 白色-如导航栏字体颜色
UIColor * kColorWhite() { return UIColorHex(0xffffff); }

/// 淡灰色-如普通界面的背景颜色
UIColor * kColorLightgrayBackground() { return UIColorHex(0xf5f5f5); }

/// 灰色—如内容字体颜色
UIColor * kColorLightgrayContent() { return UIColorHex(0x969696); }

/// 灰色-如输入框占位符字体颜色
UIColor * kColorLightgrayPlaceholder() { return UIColorRGB(198,198,204); }

/// 深灰色
UIColor * kColorDarkgray() { return UIColorHex(0x666666); }

/// 浅灰色（tableview和view背景颜色）
UIColor * kMainBgColorGrayForTableView() { return UIColorHex(0xefeff1); }

/// 黑色-如输入框输入字体颜色或标题颜色
UIColor * kColorBlack() { return UIColorHex(0x333333); }

/// 黑色-细黑
UIColor * kColorBlacklight() { return UIColorHex(0x999999); }
/// 黑色-纯黑
UIColor * kColorDeepBlack() { return UIColorHex(0x000000); }

/// 灰色—如列表cell分割线颜色
// begin

UIColor * kColorSeparatorlineDark() { return UIColorHex(0xd1d1d1); }

UIColor * kColorSeparatorline() { return UIColorHex(0xdfdfe1); }
// end

/// 淡灰色-输入框字色
UIColor * kColorLightGray() { return UIColorHex(0xb1b1b1); }

/// 灰色—如列表cell分割线颜色较深e5样式
UIColor * kColorSeparatorline5() { return UIColorHex(0xe5e5e5); }
/// 灰色-边框线颜色
UIColor * kColorBorderline() { return UIColorHex(0xb8b8b8); }

/// 绿色-如导航栏背景颜色
UIColor * kColorGreenNavBground() { return UIColorHex(0x38ad7a); }

/// 绿色
UIColor * kColorGreen() { return UIColorHex(0x349c6f); }

/// 深绿色
UIColor * kColorDarkGreen() { return UIColorHex(0x188d5a); }

/// 橙色
UIColor * kColorOrange() { return UIColorHex(0xf39700); }

/// 深橙色
UIColor * kColorDarkOrange() { return UIColorHex(0xe48437); }

/// 淡紫色
UIColor * kColorLightPurple() { return UIColorHex(0x909af8); }

/// 红色
UIColor * kColorRed() { return UIColorHex(0xfd492e); }

/// 蓝色
UIColor * kColorBlue() { return UIColorHex(0x00a0e9); }

/// 高雅黑
UIColor * kColorElegantBlack() { return UIColorRGB(29, 31, 38); }

/// 白色
UIColor * kColorWhitelight() { return UIColorHex(0xfefefe); }

/// 背景色
UIColor * kColorBackGroundColor() { return UIColorHex(0xeff0f2); }

